<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>     
<%
String path = request.getContextPath();
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);
	response.setContentType("text/html;charset=UTF-8");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<link rel="stylesheet" href="<%=path%>/resources/easyUI/dhatv4.css" type="text/css"/>
	</head>

	<body>
		<div id="system_menu"></div>
		<script type="text/javascript" src="<%=path%>/resources/easyUI/dhatv4.js"></script>
		<script type="text/javascript">
    	var data = "<%=path%>/menu!showMenu.action";
    	function toUrl(node){
    		if (node.url != 'null')
    			document.location = node.url;
    	}
    	var tree = new MenuTree('system_menu', '系统菜单', data, ['url'], toUrl);
    	tree.render();
    </script>
	</body>
</html>
